﻿' LibWowArmory
' by Ronald M. Clifford (roncli@roncli.com)
'
' This source code is released under the GNU Library General Public License (LGPL) Version 2.1.

Imports System.Collections.Generic
Imports System.Xml.Serialization

Namespace roncliProductions.LibWowArmory.CharacterSheetSchema

    Public Class item

        Private intDisplayInfoId As Integer
        Private intDurability As Integer
        Private intGem0ID As Integer
        Private intGem1ID As Integer
        Private intGem2ID As Integer
        Private strGemIcon0 As String
        Private strGemIcon1 As String
        Private strGemIcon2 As String
        Private strIcon As String
        Private intID As Integer
        Private intLevel As Integer
        Private intMaxDurability As Integer
        Private strName As String
        Private strPermanentEnchantIcon As String
        Private intPermanentEnchantItemId As Integer
        Private intPermanentEnchant As Integer
        Private strPickUp As String
        Private strPutDown As String
        Private intRandomPropertiesID As Integer
        Private intRarity As Integer
        Private intSeed As Integer
        Private intSlot As Integer

        <XmlAttribute()> Public Property displayInfoId() As Integer
            Get
                Return intDisplayInfoId
            End Get
            Set(ByVal value As Integer)
                intDisplayInfoId = value
            End Set
        End Property

        <XmlAttribute()> Public Property durability() As Integer
            Get
                Return intDurability
            End Get
            Set(ByVal value As Integer)
                intDurability = value
            End Set
        End Property

        <XmlAttribute()> Public Property gem0Id() As Integer
            Get
                Return intGem0ID
            End Get
            Set(ByVal value As Integer)
                intGem0ID = value
            End Set
        End Property

        <XmlAttribute()> Public Property gem1Id() As Integer
            Get
                Return intGem1ID
            End Get
            Set(ByVal value As Integer)
                intGem1ID = value
            End Set
        End Property

        <XmlAttribute()> Public Property gem2Id() As Integer
            Get
                Return intGem2ID
            End Get
            Set(ByVal value As Integer)
                intGem2ID = value
            End Set
        End Property

        <XmlAttribute()> Public Property gemIcon0() As String
            Get
                Return strGemIcon0
            End Get
            Set(ByVal value As String)
                strGemIcon0 = value
            End Set
        End Property

        <XmlAttribute()> Public Property gemIcon1() As String
            Get
                Return strGemIcon1
            End Get
            Set(ByVal value As String)
                strGemIcon1 = value
            End Set
        End Property

        <XmlAttribute()> Public Property gemIcon2() As String
            Get
                Return strGemIcon2
            End Get
            Set(ByVal value As String)
                strGemIcon2 = value
            End Set
        End Property

        <XmlAttribute()> Public Property icon() As String
            Get
                Return strIcon
            End Get
            Set(ByVal value As String)
                strIcon = value
            End Set
        End Property

        <XmlAttribute()> Public Property id() As Integer
            Get
                Return intID
            End Get
            Set(ByVal value As Integer)
                intID = value
            End Set
        End Property

        <XmlAttribute()> Public Property level() As Integer
            Get
                Return intLevel
            End Get
            Set(ByVal value As Integer)
                intLevel = value
            End Set
        End Property

        <XmlAttribute()> Public Property maxDurability() As Integer
            Get
                Return intMaxDurability
            End Get
            Set(ByVal value As Integer)
                intMaxDurability = value
            End Set
        End Property

        <XmlAttribute()> Public Property name() As String
            Get
                Return strName
            End Get
            Set(ByVal value As String)
                strName = value
            End Set
        End Property

        <XmlAttribute()> Public Property permanentEnchantIcon() As String
            Get
                Return strPermanentEnchantIcon
            End Get
            Set(ByVal value As String)
                strPermanentEnchantIcon = value
            End Set
        End Property

        <XmlAttribute()> Public Property permanentEnchantItemId() As Integer
            Get
                Return intPermanentEnchantItemId
            End Get
            Set(ByVal value As Integer)
                intPermanentEnchantItemId = value
            End Set
        End Property

        <XmlAttribute()> Public Property permanentenchant() As Integer
            Get
                Return intPermanentEnchant
            End Get
            Set(ByVal value As Integer)
                intPermanentEnchant = value
            End Set
        End Property

        <XmlAttribute()> Public Property pickUp() As String
            Get
                Return strPickUp
            End Get
            Set(ByVal value As String)
                strPickUp = value
            End Set
        End Property

        <XmlAttribute()> Public Property putDown() As String
            Get
                Return strPutDown
            End Get
            Set(ByVal value As String)
                strPutDown = value
            End Set
        End Property

        <XmlAttribute()> Public Property randomPropertiesId() As Integer
            Get
                Return intRandomPropertiesID
            End Get
            Set(ByVal value As Integer)
                intRandomPropertiesID = value
            End Set
        End Property

        <XmlAttribute()> Public Property rarity() As Integer
            Get
                Return intRarity
            End Get
            Set(ByVal value As Integer)
                intRarity = value
            End Set
        End Property

        <XmlAttribute()> Public Property seed() As Integer
            Get
                Return intSeed
            End Get
            Set(ByVal value As Integer)
                intSeed = value
            End Set
        End Property

        <XmlAttribute()> Public Property slot() As Integer
            Get
                Return intSlot
            End Get
            Set(ByVal value As Integer)
                intSlot = value
            End Set
        End Property

    End Class

End Namespace